#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QTableWidgetItem>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private slots:
    void on_tableWidget_doubleClicked(const QModelIndex &index);

    void on_pushButton_startLoop_clicked(bool checked);

    void on_pushButton_startLoop_toggled(bool checked);

    void on_pushButton_search_clicked();

    void on_pushButton_delete_clicked();

    void on_pushButton_up_clicked();

    void on_pushButton_down_clicked();

    void on_pushButton_addPoint_clicked();

    void on_tableWidget_currentItemChanged(QTableWidgetItem *current, QTableWidgetItem *previous);
#ifdef USE_RTC6
    QString uint2String(uint data);
#endif
    void markGoto(bool);
private:
    Ui::MainWindow *ui;
    QList<QPoint> mPoints;
    QStringList mCards;
};

#endif // MAINWINDOW_H
